﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Mindmap_Case_4
{
    public partial class Help : Form
    {
        //Help funtion. Mostly contains text.
        public Help()
        {
            InitializeComponent();
        }

        private void lblAddBody_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Add a Body, you click the button 'Add Body' Drag the preview rectangle where you would like the body Enter a name/title in the inputbox or press 'Edit', 'Add', 'Body'";
        }

        private void lblAddRelation_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Add a Relation, you click the button 'Add Relation' Drag the Relation between the two components which you would like to relate Enter a name in the inputbox or press 'Edit', 'Add', 'Relation'";
        }

        private void lblAddPicture_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Add a Picture, you click the button 'Add Picture' Drag the size you would like the picture to have Enter a name in the inputbox or press 'Edit', 'Add', 'Picture'";
        }

        private void lblSelect_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Select, just click a component";
        }

        private void lblChangeColor_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Change the Color, select a colorable component, click the button 'Change Color' and pick a color";
        }

        private void lblEditText_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Edit the Text, select a component and press the button 'Edit Text', put the new text in the inputbox";
        }

        private void lblMoveComp_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Move a component, select a component and click the button 'Move Component' then drag the component tho its new location";
        }

        private void lblDeleteComp_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Delete a component, select a component and click the button 'Delete Component'";
        }

        private void lblSubmindmap_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "Click the Button 'Add Mindmap' or 'Edit','Add','Submindmap' then give it a name, the submindmap wil appear in the explorer on the right side or doubleclick a body";
        }

        private void lblViewMindmap_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "View Another mindmap by clicking in the Mindmap explorer";
        }

        private void lblDeleteMindmap_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "Select a Mindmap in the explorer and click the button 'Delete Mindmap'";
        }

        private void lblRunPres_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "Click the button 'Presentation' or Click 'Presentation', 'Run Presentation'";
        }

        private void lblExportImage_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Export the Mindmap as a Image, Click 'File','Export As Image' and Choose Name and extention and confirm";
        }

        private void lblSaveFile_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Save a File, Click 'File', 'Save' and Choose a name and confirm";
        }

        private void lblAddAlternate_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Add an Alternate Link, Click 'Add Alternate', Choose between a file on your PC (Click the button Browse), a Website (Enter a Website) or a Mindmap (Choose One from the List)";
        }

        private void lblOpenFile_Click(object sender, EventArgs e)
        {
            lblOutput.Text = "To Open a File, Click 'File', 'Open' and Choose an existing File and confirm";
        }            
    }
}
